package com.zhijian.warehouse.manage.entity.vo.request;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import javax.validation.constraints.Min;
import java.util.Date;

/**
 *  查询条件vo
 *
 * @author auto
 * @version 1.0
 * @date 2023-12-04 15:29:42
 */
@Data
@Api(tags = "查询条件vo")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CurrPligtSearchVo implements Serializable {

    private static final long serialVersionUID = -1;

    /**
     * 页码
     */
    @ApiModelProperty("页码")
    @Min(value = 1, message = "页码最小为1")
    private Integer pageNum;

    /**
     * 数据库查询参数，前端忽略
     */
    @ApiModelProperty(value = "页码", hidden = true)
    private Integer startIndex;

    /**
     * 条数
     */
    @ApiModelProperty("每页显示的条数")
    @Min(value = 1, message = "每页显示的条数最小为1")
    private Integer pageSize;

    /**
    * 排除id
    */
    @ApiModelProperty(value = "排除id", hidden = true)
    private Long notId;


    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private Long id;

    /**
     * 房间ID
     */
    @ApiModelProperty("房间ID")
    private String roomid;

    /**
     * 房间名称
     */
    @ApiModelProperty("房间名称")
    private String roomname;

    /**
     * 温度
     */
    @ApiModelProperty("温度")
    private String avgwd;

    /**
     * 湿度
     */
    @ApiModelProperty("湿度")
    private String avgsd;

    /**
     * PM2.5
     */
    @ApiModelProperty("PM2.5")
    private String avgkq;

    /**
     * 二氧化碳
     */
    @ApiModelProperty("二氧化碳")
    private String avgco2;

    /**
     * Tvoc
     */
    @ApiModelProperty("Tvoc")
    private String avgtvoc;

    /**
     * Pm10
     */
    @ApiModelProperty("Pm10")
    private String avgpm10;
}